namespace LeadThing.AbpZeroTemplate.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Update_CameraManage20 : DbMigration
    {
        public override void Up()
        {
            AddColumn("Basic.CameraManage", "CameraId", c => c.String());
            AddColumn("Basic.CameraManage", "Status", c => c.String());
            AddColumn("Basic.CameraManage", "ChannelType", c => c.String());
            AddColumn("Basic.CameraManage", "ChannelSN", c => c.String());
            AddColumn("Basic.CameraManage", "Rights", c => c.String());
            AddColumn("Basic.CameraManage", "CameraType", c => c.String());
            AddColumn("Basic.CameraManage", "CtrlId", c => c.String());
            AddColumn("Basic.CameraManage", "Latitude", c => c.String());
            AddColumn("Basic.CameraManage", "Longitude", c => c.String());
            AddColumn("Basic.CameraManage", "ViewDomain", c => c.String());
            AddColumn("Basic.CameraManage", "CameraFunctions", c => c.String());
            AddColumn("Basic.CameraManage", "MulticastIp", c => c.String());
            AddColumn("Basic.CameraManage", "MulticastPort", c => c.String());
            AddColumn("Basic.CameraManage", "NvrChnlIp", c => c.String());
            AddColumn("Basic.CameraManage", "ChannelRemoteType", c => c.String());
            AddColumn("Basic.CameraManage", "SubMulticastIp", c => c.String());
            AddColumn("Basic.CameraManage", "SubMulticastPort", c => c.String());
        }
        
        public override void Down()
        {
            DropColumn("Basic.CameraManage", "SubMulticastPort");
            DropColumn("Basic.CameraManage", "SubMulticastIp");
            DropColumn("Basic.CameraManage", "ChannelRemoteType");
            DropColumn("Basic.CameraManage", "NvrChnlIp");
            DropColumn("Basic.CameraManage", "MulticastPort");
            DropColumn("Basic.CameraManage", "MulticastIp");
            DropColumn("Basic.CameraManage", "CameraFunctions");
            DropColumn("Basic.CameraManage", "ViewDomain");
            DropColumn("Basic.CameraManage", "Longitude");
            DropColumn("Basic.CameraManage", "Latitude");
            DropColumn("Basic.CameraManage", "CtrlId");
            DropColumn("Basic.CameraManage", "CameraType");
            DropColumn("Basic.CameraManage", "Rights");
            DropColumn("Basic.CameraManage", "ChannelSN");
            DropColumn("Basic.CameraManage", "ChannelType");
            DropColumn("Basic.CameraManage", "Status");
            DropColumn("Basic.CameraManage", "CameraId");
        }
    }
}
